//
//  HeaderCell.swift
//  PutaoMaternityMatron
//
//  Created by xianzhiliao on 2017/3/20.
//  Copyright © 2017年 Putao. All rights reserved.
//

import UIKit

class HeaderCell: UICollectionViewCell {
    
    @IBOutlet weak var ivBg: UIImageView!
    @IBOutlet var vContainer: UIView!
    var delegate: HomeViewControllerDelegate?
    override func awakeFromNib() {
        self.vContainer.layer.borderWidth = 1 / UIScreen.main.scale;
        self.vContainer.layer.borderColor = UIColor(red: 219/255.0, green: 227/255.0, blue: 210/255.0, alpha: 1.0).cgColor
    }
    @IBAction func actionDetail(_ sender: Any) {
        self.delegate?.didClikDetail()
    }
}
